Visualization of Exception Propagation for Java Using Static Analysis
نویسندگان
چکیده
In this paper, we first present a static analysis based on set-based framework, which estimates exception propagation paths of Java programs. We construct an exception propagation graph from the static analysis information, which includes the origin of exceptions, handler of exceptions, and propagation paths of exceptions. We have implemented the exception propagation analysis and a visualization tool which visualizes propagation paths of exceptions using the exception propagation graph. This propagation information can guide programmers to detect uncaught exceptions, handle exceptions more specifically, and put exception handlers at appropriate places by tracing exception propagation.
منابع مشابه
JexVis: An interactive visualization tool for exception call graphs in Java
Just as the structure of any system degrades over time as it evolves & becomes more complicated, software systems are no exception to this. A particular aspect of software systems is its exception handling mechanism which also tends to get dirty with time. Jex, a tool developed by Martin Robillard at University of British Columbia is a static analyzer that extracts exception flow information fr...
متن کاملA Review on Exception Analysis and its Applications
Exception handling has become popular in most major languages, including C++, Java, Ada, and ML. Because uncaught exceptions will abort the program’s execution, it is important to make sure at compile-time that the input program will have no uncaught exceptions. This paper aims to summarize works so far on exception analyses and their applications. We first review several exception analyses inc...
متن کاملEstimating Exception-Induced Control Flow for Java
Exception analyses so far cannot provide information on the propagation of thrown exceptions, which is necessary to construct interprocedural control flow graph, visualize exception propagation, and slice exception-related parts of programs. In this paper, we propose a set-based analysis, which estimates exception propagation of Java programs. To formalize exception propagation, we first descri...
متن کاملException Analysis for Multithreaded Java Programs
This paper presents a static analysis that estimates uncaught exceptions in multithreaded Java programs. In Java, throwing exceptions across threads is deprecated because of the safety problem. Instead of restricting programmers’ freedom, we extend Java language to support multithreaded exception handling and propose a tool to detect uncaught exceptions in the input programs. Our analysis consi...
متن کاملException Analysis for Java
Current JDK Java compiler relies too much on programmer's speciication for checking against uncaught exceptions of the input program. It is not elaborate enough to remove programmer's unnecessary handlers (when programmer's speciications are too many) nor suggest to programmers for specialized handlings (when programmer's speciica-tions are too general). We propose a static analysis of Java pro...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002